package com.three.sso.mobile.feign;

import com.three.core.entity.FrontUser;
import com.three.core.entity.Menu;
import com.three.core.entity.User;
import com.three.core.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "car-wash-vip",fallbackFactory = UserFallbackFactory.class)
public interface UserFeign {
    @GetMapping("/vip/customer/getCustomerByName")
    R<FrontUser> getCustomerByName(@RequestParam String userName);

}
